package com.example.zhu.Mapper;

import com.example.zhu.dto.MemberRecord;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MemberRecordMapper {
    @Insert("insert into member_record(money_type,type,order_id,give_money,money_before,money_after,member_id,money_date) values(#{moneyType},#{type},#{orderId},#{giveMoney},#{moneyBefore},#{moneyAfter},#{memberId},#{moneyDate})")
    void Insert(MemberRecord memberRecord);

}
